package com.aaa.ssm.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author AUSU
 * @version 1.0
 * 创建时间：2025/3/22 15:45
 */
@Data
public class BaseQuery implements Serializable {
    private Integer pageNo;
    private Integer pageCount;
    public Integer getIndex(){
        return (pageNo-1)*pageCount;
    }
}
